﻿using Microsoft.AspNetCore.Cors;
using Microsoft.AspNetCore.Mvc;

namespace GXRTBTC.WebReceiveService.Controllers
{
    [EnableCors("any")]
    [Route("/")]
    //IgnoreApi = false/true 窗口是否显示到swaggerUI
    [ApiExplorerSettings(IgnoreApi = true)]
    [ApiController]
    public class IndexController : ControllerBase
    {
        /// <summary>
        /// 这是get方法
        /// </summary>
        /// <returns></returns>
        [HttpGet]
        public string Get()
        {
            return "";
        }
    }
}
